package com.zdft.promotion.promotion.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 促销规则
 * 
 * @author wangtao
 * @email 
 * @date 2020-02-24 11:03:08
 */
@Data
@ApiModel
public class PromotionFilterModel {

	@ApiModelProperty("查询主键")
	@NotNull(message = "查询主键不能为空")
	private Long id;

	@ApiModelProperty("当前页码")
	private long current = 1;

	@ApiModelProperty("每页大小")
	private long size = 10;

}
